package com.cai.kcsj.mapper;

import com.cai.kcsj.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/5 12 : 55
 * @package：com.cai.kcsj.mapper
 */
public interface OrderMapper {
    void buyOrder(@Param("order") Order order);
    List<Order> getOrder(@Param("id") Integer id,@Param("current") Integer current);
    void deleteorder(@Param("id") Integer id);
    int orderCount(@Param("id") Integer id);
}
